home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / TextFile / DLL / MkOs
Text File  |  1995-09-04  |  2KB  |  76 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.ReadToD    \
  4.             o.SkipBlanks    \
  5.  
  6.  
  7. LibName        =    TextFile
  8.  
  9.  
  10.  
  11. # Template makefile to make all .o files
  12. # for a DeskLib sublibrary. Compilation 
  13. # is for static linking inside a DLL.
  14.  
  15. # The macro $(ObjectFiles) should be set at the 
  16. # start of this file, to be a space-separated
  17. # list of object files.
  18. # This is done by 'Makatic'.
  19.  
  20. # The macro $(LibName) should also be set at the 
  21. # start of this file, to be the name of the 
  22. # DeskLib sublibrary.
  23.  
  24. # Compiler flags, These can be anything. 
  25. # All essential flags (eg CC -zM
  26. # are included in the macro $(CC).
  27. #
  28. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  29. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  30.  
  31. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  32. ASM        =    ObjAsm $(ASMFlags)
  33.  
  34.  
  35. # -------------------------------------------------------
  36. # Everything below here should probably not be changed...
  37. # -------------------------------------------------------
  38.  
  39. # Here's what we want to make...
  40. #
  41. All:    $(ObjectFiles)
  42.  
  43.  
  44. # Rule for compiling C source code for a Straylight dynamically-linked library.
  45.  
  46. VPATH = @.^
  47.  
  48. .SUFFIXES:    .o .c .s
  49.  
  50. .c.o:
  51.     $(CC) -o $@ $<
  52.  
  53. .s.o:
  54.     $(ASM) $(ASMFlags) -from $< -to $@
  55.  
  56.  
  57.  
  58. # Dynamic dependencies:
  59. o.ReadToD:    ^.c.ReadToD
  60. o.ReadToD:    C:h.stdio
  61. o.ReadToD:    DeskLib:h.Core
  62. o.ReadToD:    C:h.stddef
  63. o.ReadToD:    C:DLLLib.h.dll
  64. o.ReadToD:    C:h.kernel
  65. o.ReadToD:    DeskLib:h.TextFile
  66. o.ReadToD:    C:h.stdio
  67. o.SkipBlanks:    ^.c.SkipBlanks
  68. o.SkipBlanks:    C:h.stdio
  69. o.SkipBlanks:    DeskLib:h.Core
  70. o.SkipBlanks:    C:h.stddef
  71. o.SkipBlanks:    C:DLLLib.h.dll
  72. o.SkipBlanks:    C:h.kernel
  73. o.SkipBlanks:    DeskLib:h.TextFile
  74. o.SkipBlanks:    C:h.stdio
  75.